Find the class midpoints for a frequency distribution